#include <iostream>
#include <cmath>
using namespace std;

int main(){
	int a, b, c, l;
	cout<<"Please give me a number:";
	cin>>l;
	a = 1; b = 1;
	c = a + b;
	cout <<a <<","  <<b <<",";
	while (c < l){
	cout <<c <<",";
	a = b; b = c;
	c = a + b;
}
	cout<<endl;
}
